package com.xjwlmq.dx.dao;

import com.xjwlmq.dx.entity.Student;

import java.util.ArrayList;

/**
 * @ClassName StudentBaseDao
 * @Description 学生数据库数据库访问对象(Data Access Object)接口
 * @Author 12994
 * @Date 2024/9/25 13:03
 * @Version 1.0
 * @Functions
 **/
public interface StudentBaseDao {
    /**
     * 获取学生列表 -> 暂时输出到控制台
     */
    ArrayList<Student> getStudentList();

    ArrayList<Student> getStudentList(int studentNo);

    int addStudent(Student stu);

    int deleteStudentViaIdentityCard(String IdentityCard);

    int updateStudentViaStudentNo(int studentNo, Student newStu);

    int deleteStudentViaStudentNo(int studentNo);
}
